﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Logistics_Management_System.Objects;

namespace Logistics_Management_System.Transportation
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IRoute_Service" in both code and config file together.
    [ServiceContract]
    public interface IRoute_Service
    {
        [OperationContract]
        List<LG_Route> GetAllRoutes();

        [OperationContract]
        ReturnBool AddNewRoute(LG_Route new_route);

        [OperationContract]
        ReturnBool EditInfoRoute(int route_id, LG_Route updated_route);

        [OperationContract]
        ReturnBool RemoveRoute(int route_id);

        [OperationContract]
        ReturnBool SetTripsForRoute(int route_id, List<LG_Trip> list_trip);
    }
}
